﻿@{
	Layout = "~/Views/Home/_LayOutEmpty.cshtml";
}
@model TesteSharepointNovo.Models.Lingua

@Html.Partial("TopBar")
<div class="box span12">
					<div class="box-header well" data-original-title>
						<h2><i class="icon-edit"></i> Língua</h2>
						
					</div>
<div class="box-content">
@using(Html.BeginForm("EditarLingua","Home",FormMethod.Post,new {@class="form-horizontal"})){

@Html.HiddenFor(c=>Model.Id)
@Html.HiddenFor(c=>Model.Curriculo.Id)
<fieldset>




<!-- Text input-->
<div class="control-group">
  <label class="control-label">Língua:</label>
  <div class="controls">
	 @Html.TextBoxFor(p => p.Descricao, new { @class = "input-xlarge" })
		
  </div>
</div>

<div class="control-group">
  <label class="control-label">Fluência:</label>
  <div class="controls">
   
    <select id="Fluencia" name="Fluencia" class="input-xlarge">
	    <option value="Básico" @if (Model.Fluencia == "Básico") { Response.Write("selected"); } >Básico</option>
	    <option value="Intermediário" @if (Model.Fluencia == "Intermediário") { Response.Write("selected"); } >Intermediário</option>
        <option value="Fluente" @if (Model.Fluencia == "Fluente") { Response.Write("selected"); } >Fluente</option>
   </select>	
	

  </div>
</div>





<!-- Text input-->

<div class="form-actions">
	<button type="submit" class="btn btn-primary">Salvar</button>
	<button type="reset" class="btn" onclick="location.href='@Url.Action("Contact")'">Cancelar</button>
</div>
</fieldset>
}
</div>
</div>
